
<!--generated with sswg-->
<style>
    html {max-width: 100%; margin: auto; color: #333333;}
    a.button {padding: 15px 32px; background-color: #555; border-radius: 2em; border-width: 0px; text-decoration: none; color: white; font-size: 25.0px; line-height: 2.5em;}
    a.button:hover {background-color: #777}
    a.button_big {padding: 0.5em; background-image: linear-gradient(to top, #427b0e, #9ba97d); background-color: lightgray; background-blend-mode: multiply; border-radius: .75em; border-width: 0px; text-decoration: none; min-width: 150px; max-width: 150px; min-height: 150px; max-height: 150px; display: inline-block; vertical-align: top; margin: 4px 4px 10px 4px; color: white; font-size: 25.0px; background-size: auto 100%; background-position-x: center;}
    a.button_big:hover {background-color: white; color: #e6d23f; text-decoration: underline;}
    mark {background: #ccff99;}
    span {background-color: rgba(0, 0, 0, 0.55); padding: .1em; line-height: 1.35em;}
    img {max-width: 100%; vertical-align: top;}
    .code_block {background-color: whitesmoke; padding: 10px; margin: 0; font-family: monospace; font-size: 20; font-weight: normal; white-space: pre;}

</style>
<html>
<left>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> ursina engine documentation</title>
<br>

<div style="text-align: center;font-weight: bold;font-family: arial;font-size: 100.0px;">
<a href="index.html" style="text-decoration: none; color:inherit">ursina engine<br>
ʕ •ᴥ•ʔゝ□</a><br>
<div style="font-weight: normal;font-size: 60.0px;text-align: left;max-width: 650px; margin: auto;">
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Entity Coordinate System"/><br>
Entity Coordinate System<br>
<div style="font-size: 20.0px;font-weight: normal;">
<br>
<div class="code_block" style="margin-left: 0em;"><br>            y (up)<br>            |<br>            |<br>(forward) z |<br>          \ |<br>           \|<br>            *---------- x (right)<br><br></div><br>
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="UI Coordinate System"/><br>
UI Coordinate System<br>
<div style="font-size: 20.0px;font-weight: normal;">
<br>
<div class="code_block" style="margin-left: 0em;"><br>_______________________(.5, .5)____(window.top_right)<br>|       <font color="green">'                  '</font>       |<br>|       <font color="green">'                  '</font>       |<br>|       <font color="green">'                  '</font>       |<br>|       <font color="green">'                  '</font>       |<br>|       <font color="green">'      (0, 0)      '</font>       |(.5*window.aspect_ratio, 0)<br>|       <font color="green">'                  '</font>       |<br>|       <font color="green">'                  '</font>       |<br>|       <font color="green">'                  '</font>       |<br>|_______<font color="green">'__________________'</font>_______|<br>    (-.5, -.5)<br><br></div><br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Rotation"/><br>
Rotation<br>
<div style="font-size: 20.0px;font-weight: normal;">
<br>
Positive value is clock-wise around axis.<br>
Imagine looking from a positive point on the axis and turing the entity left.<br>
<br>
<div class="code_block" style="margin-left: 0em;"><br>           _______<br>          /<br>          \-><br>    __<br>   /  \     y<br>  |   v     |<br>  |      z  |                __<br>          \ |               /  \<br>           \|               v   |<br>            *---------- x       |<br>                                |<br></div><br>
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Origin"/><br>
Origin<br>
<div style="font-size: 20.0px;font-weight: normal;">
<br>
Setting the origin will move the origin point of the model.<br>
This can be especially useful when working with ui.<br>
<br>
<div class="code_block" style="margin-left: 0em;">            (-.5,.5)<br>+--------+      *--------+<br>|        |      |        |<br>|  (0,0) |      |        |<br>|        |      |        |<br>+--------+      +--------+<br><br>  (0,.5)<br>+----*---+      +--------+<br>|        |      |        |<br>|        |      |        * (.5,0)<br>|        |      |        |<br>+--------+      +--------+<br><br></div><br>

</html>